<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>01-JS运算符</title>

</head>
<body>

<script>
    // 算数运算符
let a=200;
let b="200";

console.log(a==b)
console.log(a===b)

    let c=1>0? "是":"不是"
    console.log(c)

    // 比较运算符
</script>

<script>
    console.log(c);

    let d=100;
    let e;
    console.log(d+e);


    let f="";
    if(f){
        console.log("true")
    }else {
        console.log("false")
    }

    let g;
    if(g){
        console.log("true");
    }else{
        console.log("false");
    }

</script>

</body>
</html>